<div id="content" class="clearfix">
    <h2>Login Member</h2>
    <?php
    $form = $this->beginWidget('CActiveForm', array(
        'id' => 'login-form',
        'enableClientValidation' => true,
        'focus' => array($model, 'username'),
        'clientOptions' => array(
            'validateOnSubmit' => true,
        ),
    ));
    ?>
    <?php echo $form->error($model, 'invalid', array('style' => 'color:#a42a27;')); ?>
    <?php echo $form->error($model, 'verifyCode', array('style' => 'color:#a42a27;')); ?>
    <table width="100%" class="table-common">
        <tr class="even">
            <th colspan="2">Silakan masukkan ID Member, Password, dan Kode Unik dengan benar.</th>
        </tr>
        <tr valign="top" class="even">
            <td width="130" align="right"><?php echo $form->labelEx($model, 'username'); ?></td>
            <td><?php echo $form->textField($model, 'username', array('autocomplete' => 'off', 'style' => 'text-transform: uppercase;')); ?></td>
        </tr>
        <tr>
            <td align="right"><?php echo $form->labelEx($model, 'password'); ?></td>
            <td><?php echo $form->passwordField($model, 'password', array('autocomplete' => 'off', 'style' => 'text-transform: uppercase;')); ?></td>
        </tr>
        <?php if (extension_loaded('gd')): ?>
            <tr valign="top" class="even"> 
                <td align="right" style="vertical-align:top;">Kode Unik *</td>
                <td><div class="chapca"><?php $this->widget('CCaptcha'); ?></div><input type="text" name="login_form[verifyCode]" class="txt" /></td>
            </tr>
        <?php endif; ?>
        <tr>
            <td>&nbsp;</td>
            <td><input name="submit" class="btn-login" value="" type="submit" /></td>
        </tr>
    </table>
   
   <p>Untuk Memperpanjang Masa Aktif ID Anda,Silahkan
       <?php
echo CHtml::link("Klik Disini",array('ReqActivation'),array('class'=>'link_button'));
?>
       
       <p>
        <?php $this->endWidget(); ?>
</div>
